#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int a = 1;
	
	for (a = 1;a <= 100;)
	{
		if (a % 3 == 0)
			printf("%d\n", a);
		a = a + 1;
		
		
	}

	return 0;
}
